import React from 'react'
import { Layout } from 'antd';
import '../../assets/style/home/home.less'
import HomeNav from '../../components/HomeNav.jsx'
import Header from '../../components/Header';
import Breadnav from "../../components/breadnav.jsx"

const { Footer, Sider, Content } = Layout;
export default function _layout(props) {
    return (
        <Layout className="container">
            <Header><Header></Header></Header>
            <Layout >
                <Sider className="sider" width={255}><HomeNav></HomeNav></Sider>
                <Content className='main'>
                <Breadnav></Breadnav>
                    {props.children}
                </Content>
            </Layout>
            <Footer className="footer">
                版权所有@现代食谱出品Copylight
            </Footer>
        </Layout>
    )
}
